package com.ruoyi.im.mapper;


import com.ruoyi.im.entity.IMGroupMember;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IMGroupMemberMapper {

    IMGroupMember selectGroupMemberById(@Param("id") Long Id);

    IMGroupMember selectGroupMemberByGroupId(@Param("groupId") Long Id);

    IMGroupMember selectGroupMemberByUserId(@Param("userId") Long Id);

    List<IMGroupMember> selectAllGroupMember();

    int deleteByPrimaryKey(@Param("id") Long id);

    long insertSelective(IMGroupMember record);

    int updateByPrimaryKeySelective(IMGroupMember record);

    List<IMGroupMember> findGroupMember(IMGroupMember record);
}